<template>
	<view>
		<hx-navbar ref="hxnb" :config="config" />
		<view class="balance" style="padding:30rpx">
			<view class="payout">
				<view class="flex justify-center" style="align-items: center;margin-top: 30rpx;">
					<image style="width:64rpx;height:64rpx;" src="../../../static/me/send.png" mode=""></image>
					<text style="font-size: 36rpx;margin-left: 30rpx;">{{getPayoutDetails.remark}}</text>
				</view>
				<view class="money">
					<text v-if="getPayoutDetails.status != 1">-</text>{{getPayoutDetails.money}}
				</view>
				<view class="flex" style="justify-content: space-between;margin: 44rpx 0 34rpx 0;">
					<text class="left">订单号</text>
					<text class="left">65983652303022811036529</text>
				</view>
				<view class="flex" style="justify-content: space-between;margin: 34rpx 0;">
					<text class="left">创建日期</text>
					<text class="left">{{getPayoutDetails.createTime}}</text>
				</view>
				<view class="flex" style="justify-content: space-between;margin: 34rpx 0;">
					<text class="left">到账日期</text>
					<text class="left">预计两个小时到账</text>
				</view>
				<view class="flex" style="justify-content: space-between;margin-top: 34rpx;">
					<text class="left">体现方式</text>
					<text class="left">银行卡</text>
				</view>
			</view>
			<view class="doubt flex" style="justify-content: space-between;">
				<text>对订单有疑问？</text>
				<text style="color: #009BFF;">联系客服</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				config: {
					title: '',
					color: '#111111',
					backgroundColor: [1, ''],
					border: true,
					// #ifdef H5
					backPage: '',
					// #endif
				},
				getPayoutDetails: []
			}
		},
		onLoad(e) {
			let data = JSON.parse(e.data)
			this.getPayoutDetails = data
			console.log('哈哈哈嘿', data)
		},
		methods: {
			goBack() {
				uni.navigateBack()
			},
		}
	}
</script>

<style scoped>
	.doubt {
		font-size: 32rpx;
		width: 690rpx;
		background: #FFFFFF;
		border-radius: 20rpx;
		padding: 30rpx;
		margin-top: 30rpx;
	}

	.payout {
		width: 690rpx;
		background: #FFFFFF;
		border-radius: 20rpx;
		padding: 30rpx;
	}

	.money {
		font-size: 56rpx;
		font-family: Rubik-Medium, Rubik;
		font-weight: 500;
		color: #1E1E1E;
		text-align: center;
		line-height: 76rpx;
		margin: 30rpx 0;
	}

	.left {
		font-size: 28rpx;
		font-family: Noto Sans SC-Regular, Noto Sans SC;
		font-weight: 400;
		color: #1E1E1E;
	}
</style>
